// GenerateComponent.h: interface for the GenerateComponent class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GenerateComponent_H__C80D574E_CAEB_42E0_848F_C29A3EBEEF1B__INCLUDED_)
#define AFX_GenerateComponent_H__C80D574E_CAEB_42E0_848F_C29A3EBEEF1B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "EDComponent.h"
#include "EquipDataSource.h"

class GenerateComponent  
{
public:
	AcDbEntity* CreateEntity(EquipDataSourceManager* pDsm);
	EDComponent* GenerateComponentFromTemplate(const EquipDataSourceManager& dsm);

	GenerateComponent();
	virtual ~GenerateComponent();
private:
	bool GenerateSubCpntFromTemplate( EDComponent* pNewCpnt, const EquipDataSourceManager& dsm );
    EDComponent* m_pComponent;
};

#endif // !defined(AFX_GenerateComponent_H__C80D574E_CAEB_42E0_848F_C29A3EBEEF1B__INCLUDED_)
